Add Lexe case study with architecture diagram#312
Conversation
Add a case study covering how Lexe runs self-custodial Lightning nodes inside Intel SGX secure enclaves using LDK, and wire its case study link into the existing Lexe entry on the case studies page. Recreate the "Lexe Architecture with LDK" diagram (from the Claude Design handoff) as an inline-SVG Vue component embedded in the post. Adapted for this site: theming follows the global light/dark switch (html.dark) rather than a standalone toggle, and the dark figure blends with the theme background with no outline. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for lightningdevkit ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Swap Lexe in for Bitkit in the featured row (Bitkit stays in the full grid). Lexe's logo is a white wordmark on a dark tile, which reads on the light page but vanishes on the dark page, so add an invertOnDark flag — reusing the home-page logo-strip convention — to invert it in dark mode. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Would it be possible to use this version instead? This is the original version that I wrote and polished, and it's the version we host on our blog. It has more a direct, confident, sharp technical tone while the one on the Spiral blog reads as if it was rewritten and flattened out by an LLM, and loses my voice. Feel free to make edits as needed though, for example if you want to remove the My original:
Spiral substack: |
|
@ConorOkus I DM'd you some rounded square logos on Discord which are more suitable to use than the one in the preview:
|
|
Cool architecture diagram; it's visually appealing and better than ours. Some nits:
You can compare with the original one from our blog, which is not as pretty but is a bit more accurate.
If you'd like to work off of our original, (we built it in Google Slides), I shared a Google Slides presentation to your Spiral email @ConorOkus |
Swap both Lexe marks (home logo strip and case-studies page) for the official rounded macOS app icon, cropped of its transparent safe-area padding so the squircle fills the frame and renders at the same visual size as the adjacent edge-to-edge logos. - Consolidate to a single /img/lexe.png; drop the redundant lexe-logo.jpg (JPEG is wrong for an icon with rounded/transparent edges anyway). - Remove the now-dead invertOnDark mechanism from the case-studies page; it existed only because the old dark tile vanished on the dark page, whereas the new light tile reads fine without inversion. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Per the author's request on PR #312, replace the Spiral-rewritten copy with Max Fang's original version (the one hosted on blog.lexe.app), which keeps his sharper, more direct technical voice. Adapted for the site: kept the existing frontmatter and URL slug, used the site's #/## heading convention, retained the interactive <LexeArchitectureDiagram /> in place of his static image, and converted his intentional inline em-dashes to — characters (markdown typographer is off). Dropped the duplicate H1/byline and the self-referential "listen on Substack" line; added a few paragraph breaks for web readability, as the author invited. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Update LexeArchitectureDiagram to the corrected Claude Design handoff: persistence now runs from the Node out to user cloud storage (the App no longer wires into the storage rail), the canvas is extended and the bottom connector relabeled "HTTPS/TLS · encrypted persistence", and the caption is trimmed to a single line. Add a click-to-zoom lightbox so the wide diagram can be viewed full size. The SVG is factored into a reusable LexeArchitectureSvg child so the inline figure and the teleported overlay share one source; the overlay closes on backdrop click, the close button, or Escape, locks page scroll, and honors prefers-reduced-motion. A shared .lexe-palette class carries the light/dark variables into both contexts. Also reword the intro to "Human Bitcoin Address (BIP 353)". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Lightbox: give the zoomed SVG a definite viewport-relative width with the 1280:852 ratio baked in; width:auto let the inline SVG collapse so the enlarged copy never showed. - Trim the figure's side padding (and radius) at <=640px so the wide diagram reclaims width on mobile. - Bump the case-study date to 2026-06-10. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>




Summary
Adds a new case study: Lexe Uses LDK to Run Self-Custodial Lightning in Secure Enclaves (by Max Fang), covering how Lexe runs hundreds of self-custodial Lightning nodes inside a single Intel SGX enclave using LDK's modular
Persist/Confirmtraits and sharedNetworkGraph/ProbabilisticScorer.🤖 Generated with Claude Code